<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:include="Common/common :: head"></div>
</head>
<body>
<div id="main-wrapper">
    <!--Header section start-->
    <div th:include="Common/common :: header"></div>
    <div class="col-lg-12 offset-2">

            <!-- Cart Total -->
           <div class="col-8 mb-60">

                <h4 class="checkout-title"><Center>订单详情</Center></h4>

                <div class="checkout-cart-total">

                    <h4>游戏名称<span>总价格</span></h4>
                    <ul>
                        <li>订单号<span th:text="${order.orderId}"></span></li>
                    </ul>

                    <ul>
                        <li th:each="item:${orderItems}">[[${item.ordername}]]X[[${item.count}]]<span th:text="'￥'+${item.totalPrice}"></span></li>
                    </ul>

                    <p>小计<span th:text="${order.price}"></span></p>
                    <h4>总计<span th:text="${order.price}"></span></h4>

            </div>
        </div>
        <div class="col-8 mb-60" >

            <h4 class="checkout-title"><Center>运送地址</Center></h4>

            <div class="checkout-cart-total">

                <h4><center>地址信息</center></h4>
                <p>姓名<span th:text="${address.name}"></span></p>
                <p>电话号码<span th:text="${address.phone}"></span></p>
                <p>邮箱<span th:text="${address.email}"></span></p>
                <p>公司<span th:text="${address.company}"></span></p>
                <p>地址<span th:text="${address.address}"></span></p>
                <p>城市<span th:text="${address.city}"></span></p>
                <p>国家<span th:text="${address.country}"></span></p>
                <p>邮政编码<span th:text="${address.code}"></span></p>

            </div>

        </div>

    </div>
    <div th:include="Common/common :: laster"></div>
</div>
</body>
</html>